﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using Kiva7.DataClasses;

namespace Kiva7.ViewModels
{
    public class TeamViewModel : BaseViewModel
    {
        public TeamViewModel()
        {
            _Data = new List<Team>();
        }

        private int _pagesCount;
        public int PagesCount
        {
            get { return _pagesCount; }
            set
            {
                if (_pagesCount != value)
                {
                    _pagesCount = value;
                    NotifyPropertyChanged("PagesCount");
                }
            }
        }

        private bool _isLoaded;
        public bool IsLoaded
        {
            get { return _isLoaded; }
            set
            {
                if (_isLoaded != value)
                {
                    _isLoaded = value;
                    NotifyPropertyChanged("IsLoaded");
                }
            }
        }

        private List<Team> _Data;
        public List<Team> Data
        {
            get
            {
                return _Data;
            }
        }
    }
}
